﻿using System;
using KZ.Utilities;

namespace KZ.Express.H.ENT
{
    public class ZoneDetailENT : BaseENT
    {
        [Output]
        public int ZoneDetailID { get; set; }

        public int ZoneID { get; set; }

        public string Zone { get; set; }

        public int? CountryID { get; set; }

        [NotInsertUpdate]
        public string CountryCode { get; set; }

        [NotInsertUpdate]
        public string CountryName { get; set; }

        [NotInsertUpdate]
        public bool IsDeleted { get; set; }

        public int? CreatedBy { get; set; }

        [NotInsertUpdate]
        public DateTime? CreatedDate { get; set; }

        public int? UpdatedBy { get; set; }

        [NotInsertUpdate]
        public override string Table { get { return "ZoneDetails"; } }

        [NotInsertUpdate]
        public override string PrimaryKey { get { return "ZoneDetailID"; } }

        /// <summary>
        /// proc_Zone_Insert
        /// </summary>
        [NotInsertUpdate]
        public override string InsertProcedure { get { return "proc_ZoneDetail_Save"; } }

        /// <summary>
        /// proc_Zone_Select
        /// </summary>
        [NotInsertUpdate]
        public override string SelectProcedure { get { return "proc_ZoneDetail_Select"; } }

        public readonly static string InsertLogProcedure = "proc_ZoneDetail_Log";

        public readonly static string SelectContentProcedure = "proc_ZoneDetail_Select_Content";

        public readonly static string SelectTypeProcedure = "proc_ZoneDetail_SelectType";
    }
}